<?php
namespace app\index\controller;

use think\Controller;
use think\Request;
use think\Db;
use org\lucn\phpquery;
/**
 * travian控制器
 * @author  Lucn30 <Lucn30@126.com>
 */
class Travian extends Controller {
	protected $server_url = "http://ts6.travian.tw";
	public function index(){
		DB::name()
		return $this->Fetch('/travian_index');
    }
	
    public function index1(){
		phpQuery::newDocumentFile($this->server_url.'/dorf1.php'); 
		echo pq(".blkTop h1:eq(0)")->html(); 
    }
	
	public function show(){
        return $this->Fetch('/article_show');
    }
}